<?php if (!defined("_ECRIRE_INC_VERSION")) return;
if (function_exists('pdk_dropdown_box')) return;

function pdk_dropdown_box($title, $id, $content, $img_path) {
    include_spip("inc/presentation");
    $bouton = bouton_block_depliable($title, false, $id);
	$ret = debut_block_depliable(false, $id); 
    
    $ret .=  $content;
	
	$ret .= fin_block();
		 
	// Create the border with the content
	return debut_cadre_enfonce($img_path, true, "", $bouton) . $ret . fin_cadre_enfonce(true);
}